/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package datos;

import exceptions.OperadorException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author miguesaca
 */
public class NewMain {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        FactoryMethod factory = new Factory();
        Emergencie emergencie= new Emergencie();       
        
        AlarmaProducto alarma = factory.crearAlarma("Incendio", emergencie);
        emergencie.setZona("Cuenca");
        
    }
    
}
